package com.hclc.yxb.ao;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @ClassName addAdministratorAo
 * @Author: yurj
 * @Mail：1638234804@qq.com
 * @Date: Create in 19:57 2020/8/22
 * @version: 1.0
 */
@Data
public class AddAdministratorAo {
    /**
     * 登录名
     */
    @NotBlank(message = "登录名")
    @Size(min = 3, max = 15, message = "登录名3-15位之间")
    @ApiModelProperty(value = "登录名")
    private String userName;

    /**
     * 登录密码
     */
    @NotBlank(message = "登录密码不能为空")
    @ApiModelProperty(value = "登录密码")
    private String userPass;


    /**
     * 用户头像
     */
    @ApiModelProperty(value = "用户头像")
    private String userLogo;

    /**
     * 用户名字
     */
    @ApiModelProperty(value = "用户名字")
    private String nick;


    /**
     * 权限id
     */
    @ApiModelProperty(value = "权限id")
    @NotBlank(message = "权限id不能为空")
    private String roleId;

    /**
     * 是否是代理商{YES,1,是;NO,0,否}
     */
    @ApiModelProperty(value = "是否是代理商{YES,1,是;NO,0,否}")
    private Boolean agentStatus;

    /**
     * 代理商用户id
     */
    @ApiModelProperty(value = "代理商用户id")
    private String agentUserId;

    /**
     * 代理商等级id
     */
    @ApiModelProperty(value = "代理商等级id")
    private String agentLevelId;
}
